<?php
namespace app\admin\service;

class ApiService
{
    public static function groups($default=null){
        $groups = model('AuthGroup')->select()->toArray();
        return $groups;
    }
}

